import sys
# @Version : 1.0
# @Author : 刘皓
# 浮点数
n1 = 4.5
n2 = -3.6
print("n1=", n1)
print("n2=", n2)


#十进制数形式
n3 = 5.12
n4 = .512
print(n3)
print(n4)


print(sys.float_info)

b = 8.1 / 3 #2.6999999999999997
print(b)

from decimal import Decimal
b = Decimal("8.1") / Decimal("3")
print("b=" , b)




